<?php

//Datenbankverbindung
        $con_error = 'Verbindung zur DB fehlgeschlagen';
        $mysqli_host = 'localhost';
        $mysqli_user = 'root';
        $mysqli_pw = '';
        $mysqli_db = 'archiv_bracher';
        
        $mysqli = new mysqli($mysqli_host, $mysqli_user, $mysqli_pw, $mysqli_db);
        $mysqli->query("SET NAMES 'utf8'");
        $mysqli->set_charset("utf8");
        
        if($mysqli->connect_error){
            echo $con_error." ".mysqli_connect_error();
            exit();
        }
?>
